# 作者：SP
# 开发时间：2023/12/22 21:54
# def num():
#     for x in range(0,36):
#        y = 35 - x
#        if 4*x + 2*y ==94:
#            num1=x
#            num2=y
#     return num1,num2
# print(f"雉兔同笼，兔有{num()[0]}只，雉有{num()[1]}只")

# def sum(n):
#     n += a
#     a = 11
#     print('a = ', a, end=' , ')
#     print('n = ', n)
#
# sum(3)
# class Solution:
#     def twoSum(self, nums: list[int], target: int) -> list[int]:
#         self.nums = nums
#         self.target = target
#         for i in len(nums[i])-1:
#             for j in len(nums[i])-1:
#                 if nums[i]+nums[j+1] == target:
#                     print([i,j+1])
#                     break
#                 else:
#                     continue
# nums = list(input())
# target = int(input())
# print(twoSum(nums,target))
def myfunc(n):
    return lambda a: a * n


mydoubler = myfunc(2)
mytripler = myfunc(3)

print(mydoubler(11))
print(mytripler(11))